﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xtensive.Storage;

namespace SMS.Core.Model.Data
{
    class Motorcycle_part : Entity
    {
        [Key, Field]
        public int item_no { get; private set; }

        [Key, Field(Length = 50)]
        public string model { get; set; }

        [Field]
        public EntitySet<Motorcycle> motorcycle { get; set; }
        //TODO: one to one ba ang relationship ani? one motorcycle part is to one motorcycle?

        [Field]
        public Item item { get; set; } //TODO: one motor part is to one item
    }
}
